package Java练习.面向对象综合练习.继承.练习;

public class Text {
    public static void main(String[] args) {
        manager ma=new manager("1233","张三",1000,1000);
        ma.eat();
        ma.work();
        //创建厨师
        cook co=new cook();
        co.work();
        co.eat();
    }
}
